# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-mtranslate
pkgver=1.6
pkgrel=1
pkgdesc="Google translate console script with easy to use API"
url="https://github.com/mouuff/mtranslate"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/m/mtranslate/mtranslate-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/mtranslate-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4c822292229e23ee24a4c17bf3a9d4f728716f6757af2cac4c043abfa8e181acf7a601a377c4190221acc6a90be81bb07d51702cce3e14f6776816eff61ac138  mtranslate-1.6.tar.gz"
